<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学院ip设置</title>
    <link rel="shortcut icon" href="/static/imgs/xy_favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/static/css/base.css">
    <link rel="stylesheet" href="/static/css/xy_ipset .css">

</head>
<body>
<!--头部-->
{% include "header.html" %}
<!--头部-->

<!--左侧导航栏-->
<nav class="navbar navbar-default leftbar">
            <button type="button" class="navbar-toggle collapsed sidebar-button" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="true">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="sidebar-ul nav navbar-nav">
                <li><a href="index"><i class="glyphicon glyphicon glyphicon-fire"></i>&nbsp;&nbsp;&nbsp;学院中心</a></li>
                <li><a href="project"><i class="glyphicon glyphicon-folder-open"></i>&nbsp;&nbsp;&nbsp;项目管理 </a></li>
                <li><a href="jmset"><i class="glyphicon glyphicon-align-left"></i>&nbsp;&nbsp;&nbsp;接码设置</a></li>
                <li><a href="dmset"><i class="glyphicon glyphicon-align-center"></i>&nbsp;&nbsp;&nbsp;打码设置</a></li>
                <li class="active active-leftbat"><a href="ipset"><i class="glyphicon glyphicon-align-right"></i>&nbsp;&nbsp;&nbsp;IP设置<span class="sr-only">(current)</span></a></li>
                <li><a href="record"><i class="glyphicon glyphicon-edit"></i>&nbsp;&nbsp;&nbsp;项目记录</a></li>
                <li><a href="help"><i class="glyphicon glyphicon-tags"></i>&nbsp;&nbsp;&nbsp;帮助中心</a></li>
                <li><a href="author"><i class="glyphicon glyphicon-comment"></i>&nbsp;&nbsp;&nbsp;联系作者</a></li>
            </ul>

        </div>
    <!--</div>-->
</nav>
<!--左侧导航栏-->

<!--主体部分-->
<div class="container main-container">
    <div class="row">
        <!--声明部分-->
        <div class="col-md-16">
            <div class="index-statement">
                <p>以下平台与作者无任何关系，排名不分先后</p>
                <p>若无你想要的平台，请联系作者添加</p>
                <p>星星变亮的平台即为您的默认ip平台,您可自行选择</p>
            </div>
        </div>
        <!--声明部分-->

        <!--中间部分-->
        <div class="col-xs-12 col-md-offset-1 col-md-10 project-center">
            <div class="project">
                <div class="index-table-title">
                    <p>讯代理</p>
                    {% if aIschoice == 1 %}
                        <span class="glyphicon glyphicon-star"></span>
                    {% else %}
                        <span class="glyphicon glyphicon-star-empty"></span>
                    {% endif %}
                </div>
                <div class="row">
                    <form class="form-horizontal" action="" method="post">
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">优质代理:<i class="glyphicon glyphicon-eye-open"></i></label>
{#                            <label class="col-xs-3 col-sm-3 control-label">订单号：<i class="glyphicon glyphicon-eye-open"></i></label><i class="glyphicon glyphicon-plus"></i><i class="glyphicon glyphicon-minus"></i>#}
                            <div class="col-xs-6 col-sm-6">
                                <input type="text" class="form-control"  placeholder="订单号" name="betterip" value="{{ orderA1 }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">动态转发:<i class="glyphicon glyphicon-eye-open"></i></label>
{#                            <label class="col-xs-3 col-sm-3 control-label">订单号：<i class="glyphicon glyphicon-eye-open"></i></label><i class="glyphicon glyphicon-plus"></i><i class="glyphicon glyphicon-minus"></i>#}
                            <div class="col-xs-6 col-sm-6">
                                <input type="text" class="form-control"  placeholder="订单号" name="normalip" value="{{ orderA2 }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">spiderId：<i class="glyphicon glyphicon-eye-close"></i></label>
                            <div class="col-xs-6 col-sm-6">
                                <input type="password" class="form-control"  placeholder="spiderId" name="spiderId" value="{{ aSpiderId }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">secret：<i class="glyphicon glyphicon-eye-close"></i></label>
                            <div class="col-xs-6 col-sm-6">
                                <input type="password" class="form-control"  placeholder="secret" name="secret" value="{{ aSecret }}">
                            </div>
                        </div>
                        <div class="form-group" style="display: none;">
                            <input type="text" value="1" name="index">
                        </div>
                        <div class="form-group">
                            <div class="col-xs-offset-3 col-xs-1">
                                <button type="submit" class="btn btn-success">保存</button>
                            </div>
                            <div class="col-xs-offset-3 col-xs-1">
                                <button type="submit" class="btn btn-info">测试</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-xs-12 col-md-offset-1 col-md-10 project-center">
            <div class="project">
                <div class="index-table-title">
                    <p>熊猫代理</p>
                    {% if bIschoice == 1 %}
                        <span class="glyphicon glyphicon-star"></span>
                    {% else %}
                        <span class="glyphicon glyphicon-star-empty"></span>
                    {% endif %}
                </div>
                <div class="row">
                    <form class="form-horizontal" action="" method="post">
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">优质代理:<i class="glyphicon glyphicon-eye-open"></i></label>
{#                            <label class="col-xs-3 col-sm-3 control-label">订单号：<i class="glyphicon glyphicon-eye-open"></i></label><i class="glyphicon glyphicon-plus"></i><i class="glyphicon glyphicon-minus"></i>#}
                            <div class="col-xs-6 col-sm-6">
                                <input type="text" class="form-control"  placeholder="订单号" name="betterip" value="{{ orderB1 }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">动态转发:<i class="glyphicon glyphicon-eye-open"></i></label>
{#                            <label class="col-xs-3 col-sm-3 control-label">订单号：<i class="glyphicon glyphicon-eye-open"></i></label><i class="glyphicon glyphicon-plus"></i><i class="glyphicon glyphicon-minus"></i>#}
                            <div class="col-xs-6 col-sm-6">
                                <input type="text" class="form-control"  placeholder="订单号" name="normalip" value="{{ orderB2 }}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-3 col-sm-3 control-label">secret：<i class="glyphicon glyphicon-eye-close"></i></label>
                            <div class="col-xs-6 col-sm-6">
                                <input type="password" class="form-control"  placeholder="secret" name="secret" value="{{ bSecret }}">
                            </div>
                        </div>
                        <div class="form-group" style="display: none;">
                            <input type="text" value="2" name="index">
                        </div>
                        <div class="form-group">
                            <div class="col-xs-offset-3 col-xs-1">
                                <button type="submit" class="btn btn-success">保存</button>
                            </div>
                            <div class="col-xs-offset-3 col-xs-1">
                                <button type="submit" class="btn btn-info">测试</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

<!--主体部分-->
    </div>
</div>

<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal" id="testbtn" style="display: none"></button>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">学院提示</h4>
      </div>
      <div class="modal-body">
        保存成功
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>

<!--<script src="jquery/jquery.js"></script>-->
<script src="/static/jquery/jquery-1.10.1.js"></script>
<script src="/static/bootstrap/js/bootstrap.js"></script>
<script src="/static/js/base.js"></script>
<script src="/static/js/xy-ipset.js"></script>
</body>
</html>